import { createApp } from "vue";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import * as ElementPlusIconsVue from "@element-plus/icons-vue";

// 全局引入 Echarts
import "echarts";

import App from "./App.vue";
import router from "./router/index.ts";
import store from "./store/index.ts";
// 引入 css
import "normalize.css"; // 初始化 CSS
// import "uno.css"; // unocss 图标
import _ from "lodash";

const app = createApp(App);
app.use(ElementPlus).use(router).use(store).mount("#app");
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}
